#
# Be sure to run `pod lib lint XMCategorys.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XMCategorys'
  s.version          = '1.0.0'
  s.summary          = 'a simple and powelful GCD timer.'

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'http://j7.hnxmny.com:8088/a/bifenwang/ios_code/XMCategorys'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'fly' => 'fly@itcom888.com' }
  s.source           = { :git => 'http://j7.hnxmny.com:8088/a/bifenwang/ios_code/XMCategorys.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'

  s.source_files = 'XMCategorys/Classes/XMCategorys.h'
  s.public_header_files = 'XMCategorys/Classes/XMCategorys.h'
  
  s.subspec 'Foundation' do |foundation|
      foundation.subspec 'NSDate' do |date|
          date.source_files = 'XMCategorys/Classes/Foundation/NSDate/**/*'
      end
      foundation.subspec 'NSDictionary' do |dict|
          dict.source_files = 'XMCategorys/Classes/Foundation/NSDictionary/**/*'
      end
      foundation.subspec 'NSString' do |string|
          string.source_files = 'XMCategorys/Classes/Foundation/NSString/**/*'
      end
  end

  s.subspec 'UIKit' do |kit|
    kit.subspec 'Chained' do |chained|
        chained.source_files = 'XMCategorys/Classes/UIKit/Chained/**/*'
    end
    kit.subspec 'UIColor' do |color|
        color.source_files = 'XMCategorys/Classes/UIKit/UIColor/**/*'
    end
    kit.subspec 'UIControl' do |control|
        control.source_files = 'XMCategorys/Classes/UIKit/UIControl/**/*'
    end
    kit.subspec 'UIDevice' do |device|
        device.source_files = 'XMCategorys/Classes/UIKit/UIDevice/**/*'
    end
    kit.subspec 'UITextView' do |textView|
        textView.source_files = 'XMCategorys/Classes/UIKit/UITextView/**/*'
    end
    kit.subspec 'UIView' do |view|
        view.source_files = 'XMCategorys/Classes/UIKit/UIView/**/*'
    end
    kit.subspec 'UIViewController' do |vc|
        vc.source_files = 'XMCategorys/Classes/UIKit/UIViewController/**/*'
    end
    kit.subspec 'UIWindow' do |window|
        window.source_files = 'XMCategorys/Classes/UIKit/UIWindow/**/*'
    end
  end

  s.subspec 'Defines' do |defines|
      defines.source_files = 'XMCategorys/Classes/Defines/**/*'
  end

#   /Chained
#   source_files = "B/*.{h.m}","B/C/*.{h.m}","B/C/D/*.{h.m}"

end
